/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package assignment2.pkg1;

import java.util.ArrayList;

/**
 *
 * @author MBoon
 */
public class Queue {

    private ArrayList<Customer> customers;
    
    public Queue() {
        this.customers = new ArrayList<Customer>();
    }
    
    public void addCustomer(Customer c) {
        customers.add(c);
    }
    
    public Customer removeFirstCustomer() {
        return customers.remove(0);
    }
    
    public int getSize() {
        return customers.size();
    }
    
    public boolean isEmpty() {
        return customers.isEmpty();
    }
    
}
